﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="false" CodeBehind="CustomerList.aspx.vb" Inherits="ACompany.OrderProcessing.UI.MVCWeb.CustomerList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<h2>Customers</h2>
<ul>
    <% For Each Customer As ACompany.OrderProcessing.Model.Customer In ViewData.Model%>
            
            <li><%=Html.ActionLink(Customer.Name, "Details", New With {.id = Customer.Id.ToString})%></li>
            
    <% Next%>

</ul>
<%=Html.ActionLink("Add A Customer", "Add")%>

</asp:Content>
